package bst;
/**
 * Java合集框架API设计模式第一步，定义树内所有常用操作
 * @author Messi
 *
 * @param <E>
 */
public interface Tree<E> extends Iterable<E> {
	
	public boolean search(E e);
	
	public boolean delete(E e);
	
	public void inorder();
	
    public void postorder();
    
    public void preorder();
    
    public int getSize();
    
    public boolean isEmpty();

}
